package com.example.ipctest;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

public class SecondActivity extends AppCompatActivity {
    private static final String TAG = "SecondActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
        testMultiProcessDataSafe();
    }
    /**
     * 测试多进程数据共享问题
     */
    private void testMultiProcessDataSafe() {
        Log.e(TAG, "在MainActivity修改之后的数据:" + TestBean.testMultiProcess);
    }
}
